package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 政策台账对象 u_data_policy
 * 
 * @author ruoyi
 * @date 2024-05-12
 */
public class UDataPolicy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 政策类别 */
    @Excel(name = "政策类别")
    private String type;

    /** 发布文号 */
    @Excel(name = "发布文号")
    private String code;

    /** 政策名称 */
    @Excel(name = "政策名称")
    private String name;

    /** 发布单位 */
    @Excel(name = "发布单位")
    private String pubUnit;

    /** 发布日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pubDate;

    /** 实施日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实施日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date implDate;

    /** 服务分类 */
    @Excel(name = "服务分类")
    private String project;

    /** 是否完成收集 */
    @Excel(name = "是否完成收集")
    private String done;

    /** 收集人 */
    @Excel(name = "收集人")
    private String collecter;

    /** 收集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收集时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date collecterTime;

    /** 文件路径 */
    private String filePath;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 创建人 */
    private Long createUser;

    /** 更新人 */
    private Long updateUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPubUnit(String pubUnit) 
    {
        this.pubUnit = pubUnit;
    }

    public String getPubUnit() 
    {
        return pubUnit;
    }
    public void setPubDate(Date pubDate) 
    {
        this.pubDate = pubDate;
    }

    public Date getPubDate() 
    {
        return pubDate;
    }
    public void setImplDate(Date implDate) 
    {
        this.implDate = implDate;
    }

    public Date getImplDate() 
    {
        return implDate;
    }
    public void setProject(String project) 
    {
        this.project = project;
    }

    public String getProject() 
    {
        return project;
    }
    public void setDone(String done) 
    {
        this.done = done;
    }

    public String getDone() 
    {
        return done;
    }
    public void setCollecter(String collecter) 
    {
        this.collecter = collecter;
    }

    public String getCollecter() 
    {
        return collecter;
    }
    public void setCollecterTime(Date collecterTime) 
    {
        this.collecterTime = collecterTime;
    }

    public Date getCollecterTime() 
    {
        return collecterTime;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("code", getCode())
            .append("name", getName())
            .append("pubUnit", getPubUnit())
            .append("pubDate", getPubDate())
            .append("implDate", getImplDate())
            .append("project", getProject())
            .append("done", getDone())
            .append("collecter", getCollecter())
            .append("collecterTime", getCollecterTime())
            .append("filePath", getFilePath())
            .append("remarks", getRemarks())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .toString();
    }
}
